* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #292727;
  height: 100vh;
  overflow: hidden;
  display: flex;
}

main {
  overflow: auto;
  padding: 20px;
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 100px;
  row-gap: 100px;
}
main > * {
  flex-shrink: 0;
}

.animation {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 10px;
  box-shadow: 16px 14px 20px rgba(0, 0, 0, 0.5490196078);
  overflow: hidden;
}
.animation::before {
  content: "";
  background-image: conic-gradient(#ff0052 20deg, transparent 120deg);
  width: 150%;
  height: 150%;
  position: absolute;
  z-index: -2;
  animation: rotate 3s linear infinite;
}
.animation::after {
  content: "";
  width: 97%;
  height: 97%;
  position: absolute;
  background-color: #101010;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
.gradient-shadow {
  position: relative;
  height: 200px;
  width: 300px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background-color: #101010;
}
.gradient-shadow::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  right: 0;
  z-index: -10;
  border-radius: 10px;
  background-image: linear-gradient(to top, #fddb92 0%, #d1fdff 100%);
  filter: blur(10px);
}/*# sourceMappingURL=style.css.map */